]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
9 years agoDon't mix GJS and GObject signal systems
Florian Müllner [Tue, 14 Feb 2017 17:24:50 +0000 (18:24 +0100)]
Don't mix GJS and GObject signal systems

GJS implements a basic signal system that allows monkey-patching
JS objects with signal methods resembling the GObject ones. However
it's clearly not a good idea to replace the actual GObject methods,
so use the proper GObject facilities when inheriting from GObject.

https://bugzilla.gnome.org/show_bug.cgi?id=778660

9 years agonetwork: Ensure the connection list is sorted after rename
Benjamin Berg [Mon, 13 Feb 2017 13:52:23 +0000 (14:52 +0100)]
network: Ensure the connection list is sorted after rename

Items were inserted correctly but the synchronisation was lost if the
name of a connection was changed. Simply making sure the position is
correct after a connection is updated fixes the issue.

Reported-by: Oliver Haessler <ohaessle@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=778686

9 years agoui: Allow moving menu items to a certain position
Benjamin Berg [Mon, 13 Feb 2017 15:02:02 +0000 (16:02 +0100)]
ui: Allow moving menu items to a certain position

This function is a helper to simplify keeping menu items ordered when
their order is updated on the fly (e.g. network connections being
renamed).

https://bugzilla.gnome.org/show_bug.cgi?id=778686

9 years agoextensionDownloader: return tuple of string on success
Yuri Konotopov [Wed, 15 Feb 2017 19:14:23 +0000 (23:14 +0400)]
extensionDownloader: return tuple of string on success

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=777544
9 years agoportalHelper: Don't fail to load because of TLS errors
Bastien Nocera [Mon, 13 Feb 2017 09:44:01 +0000 (10:44 +0100)]
portalHelper: Don't fail to load because of TLS errors

Accept self-signed and expired certificates as if we errored out, we
couldn't access the network at all. Consider this insecure though.

https://bugzilla.gnome.org/show_bug.cgi?id=778253

9 years agoUpdated Ukrainian translation
Daniel Korostil [Wed, 15 Feb 2017 13:13:51 +0000 (15:13 +0200)]
Updated Ukrainian translation

9 years agotests: require given version of Gtk
Lionel Landwerlin [Wed, 15 Feb 2017 00:46:52 +0000 (00:46 +0000)]
tests: require given version of Gtk

9 years agotests: load required version of Clutter/Gtk early
Lionel Landwerlin [Wed, 15 Feb 2017 00:43:09 +0000 (00:43 +0000)]
tests: load required version of Clutter/Gtk early

9 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 14 Feb 2017 19:33:27 +0000 (20:33 +0100)]
Updated Spanish translation

9 years agoUse the versioned libmutter*.so versions
Jonas Ådahl [Mon, 28 Nov 2016 04:54:38 +0000 (12:54 +0800)]
Use the versioned libmutter*.so versions

Mutter now provides versioned libraries and pkg-config files, meaning
an application using libmutter and friends need to depend on a specific
version of the API.

https://bugzilla.gnome.org/show_bug.cgi?id=777317

9 years agologinDialog: don't allow type ahead at the login screen
Ray Strode [Mon, 9 May 2016 12:59:46 +0000 (08:59 -0400)]
loginDialog: don't allow type ahead at the login screen

It's weird if after you select a username from the user list, there's
a password already filled in.

This commit disables at that feature for the login screen
(but keeps it in tact for the unlock screen)

https://bugzilla.gnome.org/show_bug.cgi?id=766139

9 years agoUpdated Czech translation
Marek Černocký [Mon, 13 Feb 2017 22:26:32 +0000 (23:26 +0100)]
Updated Czech translation

9 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 13 Feb 2017 19:43:07 +0000 (20:43 +0100)]
Updated Norwegian bokmål translation.

9 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 13 Feb 2017 15:05:26 +0000 (15:05 +0000)]
Update Indonesian translation

9 years agoportalHelper: Fix signal arguments
Bastien Nocera [Mon, 13 Feb 2017 10:11:26 +0000 (11:11 +0100)]
portalHelper: Fix signal arguments

How did this work in tests?!

https://bugzilla.gnome.org/show_bug.cgi?id=778552

9 years agoportalHelper: Fix runtime warning
Bastien Nocera [Mon, 13 Feb 2017 10:10:19 +0000 (11:10 +0100)]
portalHelper: Fix runtime warning

When there is no URI, then the title should be empty, not null:
Gjs-WARNING **: JS ERROR: Error: Argument 'str' (type utf8) may not be null

https://bugzilla.gnome.org/show_bug.cgi?id=778552

9 years agoportalHelper: Add security icon to titlebar
Bastien Nocera [Fri, 10 Feb 2017 20:08:01 +0000 (21:08 +0100)]
portalHelper: Add security icon to titlebar

This adds a security icon (either secure or insecure) to the portal
helper's title bar. As soon as a part or all of the page and its content
is served insecurely, the icon shown will be a broken padlock.

https://bugzilla.gnome.org/show_bug.cgi?id=749197

9 years agoUpdated Czech translation
Marek Černocký [Sat, 11 Feb 2017 14:14:44 +0000 (15:14 +0100)]
Updated Czech translation

9 years agowindowManager: Use g-s-d wacom dbus helpers to update pad leds/oleds
Carlos Garnacho [Wed, 28 Dec 2016 12:03:53 +0000 (13:03 +0100)]
windowManager: Use g-s-d wacom dbus helpers to update pad leds/oleds

This keeps feedback on the device itself in sync with the overall pad
state, a feature we had previously through g-s-d.

https://bugzilla.gnome.org/show_bug.cgi?id=776543

9 years agowindowManager: Handle MetaDisplay::show-osd signal
Carlos Garnacho [Wed, 28 Dec 2016 11:14:32 +0000 (12:14 +0100)]
windowManager: Handle MetaDisplay::show-osd signal

Propagate as-is to the OsdWindowManager.

https://bugzilla.gnome.org/show_bug.cgi?id=771098

9 years agojs: Avoid double declarations with let
Philip Chimento [Fri, 10 Feb 2017 02:12:59 +0000 (18:12 -0800)]
js: Avoid double declarations with let

The following code is a syntax error in ES6:

    let a = 'something';
    let a = 'other thing';

Previously GJS would silently accept this code, but in the next release the
SpiderMonkey JS engine will be more ES6-compliant.

https://bugzilla.gnome.org/show_bug.cgi?id=778425

9 years agoibusManager: Use const correctly
Philip Chimento [Fri, 10 Feb 2017 02:11:28 +0000 (18:11 -0800)]
ibusManager: Use const correctly

Per ES6, a variable declared const should only be valid inside its lexical
scope. Previously, GJS would accept this code, but that will change in the
SpiderMonkey JS engine in the next release of GJS.

https://bugzilla.gnome.org/show_bug.cgi?id=778425

9 years agomain: Destroy GjsContext before exit
Philip Chimento [Fri, 10 Feb 2017 02:09:21 +0000 (18:09 -0800)]
main: Destroy GjsContext before exit

Here are a few places where I missed it before: the GjsContext must be
unrefed before exiting, or it will crash on exit.

https://bugzilla.gnome.org/show_bug.cgi?id=778425

9 years agoUse /proc/self/cmdline on Solaris as well in shell_global_reexec_self()
Alan Coopersmith [Sat, 24 Sep 2016 18:06:00 +0000 (11:06 -0700)]
Use /proc/self/cmdline on Solaris as well in shell_global_reexec_self()

Solaris 11.3.5 and later have a Linux-compatible implementation of
/proc/self/cmdline, so the code to use it can be enabled in gnome-shell
on Solaris - if used on an older OS, it simply fails to open the file
and returns without doing anything, just as the code did before enabling
this.

https://bugzilla.gnome.org/show_bug.cgi?id=776199

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
9 years agowidget: Only include visible actors in focus chain
Florian Müllner [Tue, 7 Feb 2017 19:22:18 +0000 (20:22 +0100)]
widget: Only include visible actors in focus chain

It isn't useful to move the keyboard focus to a hidden actor, so
only include visible actors in the focus chain - this is in fact
the documented behavior of st_widget_get_focus_chain(), so having
the default implementation return all children has always been
unexpected.

https://bugzilla.gnome.org/show_bug.cgi?id=778158

9 years agost-theme-node: Fix lookup of time values
Florian Müllner [Fri, 3 Feb 2017 14:57:38 +0000 (15:57 +0100)]
st-theme-node: Fix lookup of time values

We have a time when the content type is seconds *or* milliseconds,
not seconds *and* milliseconds. Whoops ...

https://bugzilla.gnome.org/show_bug.cgi?id=778145

9 years agoAppFavorites: order alphabetically by key
Robert Roth [Mon, 6 Feb 2017 07:40:43 +0000 (09:40 +0200)]
AppFavorites: order alphabetically by key

9 years agoUpdate zh_CN translation
Mandy Wang [Sun, 5 Feb 2017 09:58:41 +0000 (17:58 +0800)]
Update zh_CN translation

9 years agoUpdate Finnish translation
Jiri Grönroos [Sat, 4 Feb 2017 18:30:23 +0000 (18:30 +0000)]
Update Finnish translation

9 years agoMake all our window clones use the MetaWindowActor as source
Rui Matos [Wed, 1 Feb 2017 18:01:47 +0000 (19:01 +0100)]
Make all our window clones use the MetaWindowActor as source

Using a MetaWindowActor's shaped texture as the source for window
clones means that if there are further MetaSurfaceActor children
(e.g. a wayland client using sub-surfaces) they don't get cloned.

This obviously wasn't an issue until wayland clients introduced the
possibility of having multiple MetaSurfaceActors under a
MetaWindowActor but there's no fundamental reason we can't clone the
toplevel actor.

WorkspaceThumbnail.WindowClone is the one class that was already using
the MetaWindowActor instead of the texture although it seems to have
been an unintended change in commit
8b99617513da1713ff88ca4abf54e6125405d31c.

https://bugzilla.gnome.org/show_bug.cgi?id=756715

9 years agoUpdate Belarusian translation
Yuras Shumovich [Thu, 2 Feb 2017 12:41:21 +0000 (12:41 +0000)]
Update Belarusian translation

9 years agobackground: Disconnect from 'prepare-for-sleep' signal
Rui Matos [Mon, 30 Jan 2017 12:29:13 +0000 (13:29 +0100)]
background: Disconnect from 'prepare-for-sleep' signal

This signal connection was keeping Background instances from being
garbage collected.

https://bugzilla.gnome.org/show_bug.cgi?id=777934

9 years agobackground: Remove a couple of unused variables
Rui Matos [Mon, 30 Jan 2017 12:28:16 +0000 (13:28 +0100)]
background: Remove a couple of unused variables

Nothing uses these.

https://bugzilla.gnome.org/show_bug.cgi?id=777934

9 years agoUpdate Polish translation
Piotr Drąg [Mon, 30 Jan 2017 02:02:45 +0000 (03:02 +0100)]
Update Polish translation

9 years agoFix a translator comment
Piotr Drąg [Sat, 28 Jan 2017 01:01:14 +0000 (02:01 +0100)]
Fix a translator comment

They need to be exactly one line above a string to show up in .po files.

9 years agowindowManager: Avoid fullscreen animation if the window has no texture
Carlos Garnacho [Wed, 25 Jan 2017 16:42:49 +0000 (17:42 +0100)]
windowManager: Avoid fullscreen animation if the window has no texture

There is hardly anything to animate, so just avoid the animation in this
case.

https://bugzilla.gnome.org/show_bug.cgi?id=777784

9 years agowindowManager: Avoid reentrancy on the ::size-changed handler
Carlos Garnacho [Wed, 25 Jan 2017 16:47:18 +0000 (17:47 +0100)]
windowManager: Avoid reentrancy on the ::size-changed handler

We have no guarantees on the number of ::size-changed signals that we may
receive, so the _sizeChangedWindow handler may run multiple times, which
leads to multiple calls to meta_plugin_size_change_completed(). So double
check the actor is not already being animated in the _sizeChangedWindow
handler to avoid reentrancy.

https://bugzilla.gnome.org/show_bug.cgi?id=777784

9 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Wed, 25 Jan 2017 09:02:11 +0000 (09:02 +0000)]
Update Kazakh translation

9 years agoUpdate Slovak translation
Dušan Kazik [Tue, 24 Jan 2017 19:35:56 +0000 (19:35 +0000)]
Update Slovak translation

9 years agobuild: Remove C++ check
Bastien Nocera [Tue, 17 Jan 2017 13:29:09 +0000 (14:29 +0100)]
build: Remove C++ check

As it's not used any more since commit
ed99bef45841c407683cd7d353f0e2d364977261.

https://bugzilla.gnome.org/show_bug.cgi?id=762444

9 years agoportalHelper: Don't change the main window title
Bastien Nocera [Mon, 23 Jan 2017 07:32:30 +0000 (08:32 +0100)]
portalHelper: Don't change the main window title

The title of the window should not be in control of a potentially
hostile hotspot provider, so only set the subtitle to be that of the
page, the main title will stay the same.

The subtitle will also be set to a URI, so that the hotspot cannot be
used to control the title shown in our UI.

Helps https://bugzilla.gnome.org/show_bug.cgi?id=749197

9 years agoportalHelper: Set a minimum window size
Bastien Nocera [Mon, 23 Jan 2017 07:32:05 +0000 (08:32 +0100)]
portalHelper: Set a minimum window size

Even though the window is maximised when created, the window is still
resizable. This avoids making the window smaller than usable. If the
screen is smaller than the minimum window size, the maximise should make
it fullscreen and non-resizable.

https://bugzilla.gnome.org/show_bug.cgi?id=735233

9 years agoportalHelper: Use private data/cache directories
Bastien Nocera [Mon, 23 Jan 2017 06:14:17 +0000 (07:14 +0100)]
portalHelper: Use private data/cache directories

https://bugzilla.gnome.org/show_bug.cgi?id=775639

9 years agoProperly detect changes in .desktop files
Adrian Perez de Castro [Mon, 7 Nov 2016 18:59:03 +0000 (20:59 +0200)]
Properly detect changes in .desktop files

This fixes the shell not picking updates to the contents of the underlying
.desktop files for application launchers, or when a .desktop file is
overriden by a user-installed one under ~/.local/share/applications

https://bugzilla.gnome.org/show_bug.cgi?id=773636

9 years agoUpdate French translation
Alexandre Franke [Sun, 22 Jan 2017 18:13:02 +0000 (18:13 +0000)]
Update French translation
(cherry picked from commit 3c6c51125ced82f58977eef84d22f769ef754c21)

9 years agoUpdate Polish translation
Piotr Drąg [Sat, 21 Jan 2017 19:16:24 +0000 (20:16 +0100)]
Update Polish translation

9 years agoibusCandidatePopup: handle mouse scroll event on candidates
Peng Wu [Mon, 12 Dec 2016 08:02:32 +0000 (16:02 +0800)]
ibusCandidatePopup: handle mouse scroll event on candidates

When use mouse scroll button on input method candidates,
move the cursor up/down on candidates.

https://bugzilla.gnome.org/show_bug.cgi?id=776032

9 years agoportalHelper: Handle Ctrl+W/Ctrl+Q to close window
Bastien Nocera [Tue, 17 Jan 2017 14:01:01 +0000 (15:01 +0100)]
portalHelper: Handle Ctrl+W/Ctrl+Q to close window

https://bugzilla.gnome.org/show_bug.cgi?id=764133

9 years agoUpdate Slovak translation
Dušan Kazik [Sun, 15 Jan 2017 19:28:34 +0000 (19:28 +0000)]
Update Slovak translation

9 years agoUpdate Catalan translation
Jordi Mas [Sun, 15 Jan 2017 18:51:00 +0000 (19:51 +0100)]
Update Catalan translation

9 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sun, 15 Jan 2017 13:20:27 +0000 (13:20 +0000)]
Update Brazilian Portuguese translation

9 years agoFix Icon filename in translations
Piotr Drąg [Thu, 12 Jan 2017 17:01:27 +0000 (18:01 +0100)]
Fix Icon filename in translations

9 years agoRevert "objectManager: handle proxies coming and going"
Ray Strode [Tue, 10 Jan 2017 03:34:21 +0000 (22:34 -0500)]
Revert "objectManager: handle proxies coming and going"

This reverts commit 1ef626213952ea8568bb35ec0e96788a696d1fee.

https://bugzilla.gnome.org/show_bug.cgi?id=772589

9 years agoUpdate Slovak translation
Dušan Kazik [Sat, 7 Jan 2017 16:03:47 +0000 (16:03 +0000)]
Update Slovak translation

9 years agoobjectManager: handle proxies coming and going
Ray Strode [Fri, 7 Oct 2016 19:40:14 +0000 (15:40 -0400)]
objectManager: handle proxies coming and going

Ever since commit b8e29ae8c78658917c8a8ddd391667d7d9e36971
(I think), start up is littered with this message:

 Gjs-WARNING **: JS ERROR: could not get remote objects for service
 org.gnome.SettingsDaemon.Smartcard path

since gnome-shell is now started before gnome-settings-daemon.

This commit addresses the problem by making the object manager code
not try to autostart its proxy, and instead wait for it to appear.

https://bugzilla.gnome.org/show_bug.cgi?id=772589

9 years agonetwork: Avoid JS error when activating VPN connection
Michael Catanzaro [Tue, 20 Dec 2016 20:00:42 +0000 (14:00 -0600)]
network: Avoid JS error when activating VPN connection

If the call to settings.get_connection_by_path in
ensureActiveConnectionProps returns null, we'll hit a JS error here.
Seems to happen always when activating a VPN connection. Avoid that.

Giovanni says:

"I believe this is papering over an existing bug, but it's possible for
settings.get_connection_by_path() to legitimately return null (if the
connection is owned by a different user and invisible to the current
one), so the fix is correct anyway."

https://bugzilla.gnome.org/show_bug.cgi?id=759793

9 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 22 Dec 2016 19:15:20 +0000 (20:15 +0100)]
Updated Spanish translation

9 years agoUpdate Hungarian translation
Gábor Kelemen [Tue, 20 Dec 2016 15:12:34 +0000 (15:12 +0000)]
Update Hungarian translation

9 years agoUpdate Hungarian translation
Balázs Meskó [Tue, 20 Dec 2016 15:10:07 +0000 (15:10 +0000)]
Update Hungarian translation

9 years agoUpdate Finnish translation
Jiri Grönroos [Fri, 16 Dec 2016 20:30:27 +0000 (20:30 +0000)]
Update Finnish translation

9 years agoBump version to 3.23.3
Florian Müllner [Thu, 15 Dec 2016 15:10:22 +0000 (16:10 +0100)]
Bump version to 3.23.3

Update NEWS.

9 years agogtk-embed: Don't try to compare with unrealized window
Jonas Ådahl [Thu, 15 Dec 2016 11:34:10 +0000 (19:34 +0800)]
gtk-embed: Don't try to compare with unrealized window

After having embedded a Gtk window, we start to listen for the
corresponding MetaWindow to know when it has been mapped by the
compositor. If the embedder does not realize the window immediately,
and some other window is created and mapped before the embedder
realizes the window, we would prior to this patch try to dereference
the not created GdkWindow. Fix this by NULL checking the GdkWindow
before dereferencing. We will never miss the needed MetaWindow creation
since it can not have been mapped have it not yet been realized.

https://bugzilla.gnome.org/show_bug.cgi?id=776130

9 years agoappFavorites: add Calculator to rename list again
Michael Catanzaro [Tue, 13 Dec 2016 00:47:27 +0000 (18:47 -0600)]
appFavorites: add Calculator to rename list again

So far it's only the second app to be on the rename list twice, but no
doubt there will soon be more....

9 years agotests: Destroy GjsContext before exit
Philip Chimento [Sat, 10 Dec 2016 02:50:39 +0000 (18:50 -0800)]
tests: Destroy GjsContext before exit

This will be required in the upcoming version of GJS.

https://bugzilla.gnome.org/show_bug.cgi?id=775374

9 years agoappFavorites: add Epiphany to rename list
Michael Catanzaro [Fri, 9 Dec 2016 18:39:12 +0000 (12:39 -0600)]
appFavorites: add Epiphany to rename list

9 years agoUpdate Italian translation
Gianvito Cavasoli [Fri, 9 Dec 2016 10:35:12 +0000 (10:35 +0000)]
Update Italian translation
(cherry picked from commit 473158db8eabe4c74978b9a6c1759a4ae0480ee2)

9 years agomain: Destroy GjsContext before exit
Philip Chimento [Tue, 6 Dec 2016 01:31:08 +0000 (17:31 -0800)]
main: Destroy GjsContext before exit

This will be required in the upcoming version of GJS.

The reference count on ShellGlobal is 2 at this point, because JS holds a
reference due to the "window.global = Shell.Global.get()" line in
ui/environment.js. Therefore, destroy the GjsContext first, then unref
the ShellGlobal object.

Cleaning up ShellGlobal was previously only enabled behind a debug
environment variable, but it should be required now.

https://bugzilla.gnome.org/show_bug.cgi?id=775374

9 years agohelpers: Destroy GjsContext before exit
Philip Chimento [Wed, 30 Nov 2016 00:24:44 +0000 (16:24 -0800)]
helpers: Destroy GjsContext before exit

This will be required in the upcoming version of GJS.

https://bugzilla.gnome.org/show_bug.cgi?id=775374

9 years agoappFavorites: add Geary in rename list
Niels De Graef [Fri, 2 Dec 2016 09:52:22 +0000 (10:52 +0100)]
appFavorites: add Geary in rename list

Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=775507

9 years agoupdated Punjabi Translation
A S Alam [Tue, 6 Dec 2016 00:27:32 +0000 (18:27 -0600)]
updated Punjabi Translation

9 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Mon, 28 Nov 2016 16:10:44 +0000 (16:10 +0000)]
Update Chinese (Taiwan) translation

9 years agonotificationDaemon: Keep source alive when replacing notification
Florian Müllner [Sat, 26 Nov 2016 18:32:22 +0000 (19:32 +0100)]
notificationDaemon: Keep source alive when replacing notification

When a GNotification has the same ID as a previous one, it should
be shown as a new notification after withdrawing the old one.
However for this to work, we must not destroy the corresponding
source if withdrawing the old notification lets the notification
count drop to zero, so make sure the source is kept alive until
the replace operation has completed.

https://bugzilla.gnome.org/show_bug.cgi?id=775149

9 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 27 Nov 2016 15:40:12 +0000 (15:40 +0000)]
Update Kazakh translation

9 years agoNotificationDaemon: create the application proxy asynchronously
Carlos Garnacho [Sat, 26 Nov 2016 13:59:48 +0000 (14:59 +0100)]
NotificationDaemon: create the application proxy asynchronously

Clicking on calendar notifications might block till the DBus request times
out if the application being poked happens to be non-responsive. Perform
this asynchronously so we don't block if that is the case.

9 years agoUpdate German translation
Christian Kirbach [Sat, 26 Nov 2016 10:56:44 +0000 (10:56 +0000)]
Update German translation

9 years agoUpdate German translation
Christian Kirbach [Fri, 25 Nov 2016 22:24:45 +0000 (22:24 +0000)]
Update German translation

9 years agoUpdate Turkish translation
Muhammet Kara [Thu, 24 Nov 2016 09:49:54 +0000 (09:49 +0000)]
Update Turkish translation

9 years agoBump version to 3.23.2
Florian Müllner [Wed, 23 Nov 2016 21:09:19 +0000 (22:09 +0100)]
Bump version to 3.23.2

Update NEWS.

9 years agobuild: Fix file reference
Florian Müllner [Wed, 23 Nov 2016 21:23:08 +0000 (22:23 +0100)]
build: Fix file reference

9 years agoappDisplay: Fix completion handler for empty animations
Xiaoguang Wang [Fri, 18 Nov 2016 08:00:01 +0000 (16:00 +0800)]
appDisplay: Fix completion handler for empty animations

If an onComplete handler is passed to animate(), it is set to run at
the end of the animation via the icon grid's ::animation-done signal.
Currently the signal is connected after starting the animation, with
the result that the handler doesn't run when the animation completes
immediately (because there are no icons to animate). Fix this by only
starting the animation after connecting the signal.

https://bugzilla.gnome.org/show_bug.cgi?id=774381

9 years agoappDisplay: Use correct view for animation
Florian Müllner [Thu, 17 Nov 2016 15:24:44 +0000 (16:24 +0100)]
appDisplay: Use correct view for animation

We currently assume that the current view matches the 'app-picker-view'
setting. While that is usually the case, there is one notable exception:
While there isn't sufficient usage data (yet), we show all applications
instead of an empty frequent view regardless of the setting. We should
animate the actually visible icons in that case, not the (non-existent)
ones from the hidden frequent view.

https://bugzilla.gnome.org/show_bug.cgi?id=774381

9 years agoUpdate Russian translation
Stas Solovey [Wed, 23 Nov 2016 21:08:29 +0000 (21:08 +0000)]
Update Russian translation
(cherry picked from commit f395d3892c278db216b1b460bd38281bcda80105)

9 years agoportalHelper: Use a constant for the host name and URI
Debarshi Ray [Mon, 24 Oct 2016 14:58:24 +0000 (16:58 +0200)]
portalHelper: Use a constant for the host name and URI

https://bugzilla.gnome.org/show_bug.cgi?id=769940

9 years agoportalHelper: Address intermittent TLS failures
Debarshi Ray [Mon, 24 Oct 2016 13:20:26 +0000 (15:20 +0200)]
portalHelper: Address intermittent TLS failures

Users are currently experiencing intermittent (and hard to debug) TLS
errors when loading the portal authentication page. This could be
caused by using http://www.gnome.org/ for our connectivity checks
because it redirects to HTTPS.

We can completely remove TLS from the equation by not using HTTPS.
http://nmcheck.gnome.org/ is a good choice because it doesn't redirect
to HTTPS and was created for NetworkManager's connectivity check.

https://bugzilla.gnome.org/show_bug.cgi?id=769940

9 years agowindowManager: Handle fullscreening from zero sized windows
Rui Matos [Wed, 23 Nov 2016 14:35:03 +0000 (15:35 +0100)]
windowManager: Handle fullscreening from zero sized windows

Wayland clients can request their surfaces to be fullscreened before
commiting a buffer which means that we need to handle fullscreen
requests for which the old size is 0x0, preferably without warnings.

Since the mapping animation also runs for these windows, we can simply
bail out and ignore the fullscreen size change.

https://bugzilla.gnome.org/show_bug.cgi?id=770345

9 years agowindowManager: Fix fullscreen animations of wayland clients
Rui Matos [Mon, 26 Sep 2016 15:58:25 +0000 (17:58 +0200)]
windowManager: Fix fullscreen animations of wayland clients

Wayland clients are in control of their window size so the existing
mutter plugin API, which assumes size changes are synchronous, doesn't
work for them since when our size-change handler runs the MetaWindow's
size isn't final yet.

To fix this, the mutter plugin API was extended with a size-changed
vfunc that lets us know when the MetaWindow size has actually
changed. This way we can make the window snapshot and get the old
window size on the existing size-change handler and later, on the new
size-changed handler, get the new size and start the animation.

https://bugzilla.gnome.org/show_bug.cgi?id=770345

9 years agoshell-wm: Add a size-changed signal to handle the new plugin vfunc
Rui Matos [Mon, 26 Sep 2016 15:33:35 +0000 (17:33 +0200)]
shell-wm: Add a size-changed signal to handle the new plugin vfunc

https://bugzilla.gnome.org/show_bug.cgi?id=770345

9 years agotexture-cache: Warn when loading sliced image fails
Florian Müllner [Tue, 22 Nov 2016 17:12:35 +0000 (18:12 +0100)]
texture-cache: Warn when loading sliced image fails

Sliced images are loaded into a group actor with one child actor
per slice. In case loading the image fails, we currently quietly
return the empty group actor, which makes diagnosing problems
unnecessarily hard - just be a bit more verbose on failure.

https://bugzilla.gnome.org/show_bug.cgi?id=774805

9 years agoanimations: Guard against empty animations
Florian Müllner [Mon, 21 Nov 2016 17:09:42 +0000 (18:09 +0100)]
animations: Guard against empty animations

Our animation code not only relies on the animation being loaded
(which we handle), but also on having at least one frame - otherwise
the computation of the next frame index will turn up NaN through
division by zero. Guard against this case by treating empty animations
as not loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=774805

9 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 21 Nov 2016 07:32:50 +0000 (08:32 +0100)]
Updated Norwegian bokmål translation.

9 years agoUpdate Friulian translation
Fabio Tomat [Sun, 20 Nov 2016 04:05:59 +0000 (04:05 +0000)]
Update Friulian translation

9 years agoUpdate Finnish translation
Jiri Grönroos [Sat, 19 Nov 2016 17:11:32 +0000 (17:11 +0000)]
Update Finnish translation
(cherry picked from commit d0e811214b60bcbc64261839150e9a597358fdc0)

9 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 19 Nov 2016 12:05:30 +0000 (12:05 +0000)]
Update Kazakh translation
(cherry picked from commit 52bbee80a0ccd11c1ed2ebb707cab7ec60804e0a)

9 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 18 Nov 2016 23:41:34 +0000 (23:41 +0000)]
Update Brazilian Portuguese translation
(cherry picked from commit 7098d6930fb39658bf32fb6375b9eb7b39dc65bf)

9 years agoUpdated Czech translation
Marek Černocký [Thu, 17 Nov 2016 23:44:06 +0000 (00:44 +0100)]
Updated Czech translation

9 years agoUpdate Polish translation
Piotr Drąg [Thu, 17 Nov 2016 23:05:25 +0000 (00:05 +0100)]
Update Polish translation

9 years agorunDialog: Mark error message as translatable
Florian Müllner [Thu, 17 Nov 2016 21:10:00 +0000 (22:10 +0100)]
runDialog: Mark error message as translatable

https://bugzilla.gnome.org/show_bug.cgi?id=774643

9 years agoUpdated Czech translation
Marek Černocký [Sat, 12 Nov 2016 11:13:02 +0000 (12:13 +0100)]
Updated Czech translation

9 years agoUpdate Friulian translation
Fabio Tomat [Thu, 10 Nov 2016 20:34:06 +0000 (20:34 +0000)]
Update Friulian translation

9 years agoUpdate Spanish translation
Daniel Mustieles [Thu, 10 Nov 2016 15:39:40 +0000 (15:39 +0000)]
Update Spanish translation